<template>
  <div>
    <el-container>
      <el-header height="60px">
        <div>
          <span>轻量级培养方案管理系统（专业负责人{{this.$session.get("bull")}}）</span>
        </div>
        <div>
          <el-button type="danger" @click="ret" round icon="el-icon-refresh-right" plain>返回</el-button>
        </div>
      </el-header>
      <el-container>

        <el-aside width="250px">
          <el-menu
            class="el-menu-vertical-demo"
            @open="handleOpen"
            @close="handleClose"
            background-color="#545c64"
            text-color="#fff"
            active-text-color="#ffd04b"
            unique-opened
            router
            :collapse-transition="true">

            <el-menu-item index="/Sub_info"><i class="el-icon-lightning"></i>毕业生能力要求二级指标管理</el-menu-item>


          </el-menu>
        </el-aside>

        <el-main>
          <div class = "cn">
            {{this.$session.get("findicname")}}
          </div>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>


  </div>
</template>


<script>
  export default {
    name: 'home',
    methods: {
      handleOpen(key, keyPath) {
        console.log(key, keyPath);
      },
      handleClose(key, keyPath) {
        console.log(key, keyPath);
      },
      ret(){
        this.$router.push({ path: "/manageProfession"});
      },
    }
  }
</script>


<style scoped>
  .el-header{
    background: lightslategray;
    color: white;
    font-size: 25px;
    align-items: center;
    justify-content: space-between;
    display: flex;
  }
  .el-aside{
    background-color: lightslategray;
    height: 800px;
  }
  .el-main{
    background-color: whitesmoke;
  }
  .el-menu{
    border-right: 0;
  }

  .cn{
    font-size: 35px;
    text-align: center;
    color: transparent;
    background-color : black;
    text-shadow : rgba(255,255,255,0.5) 0 5px 6px, rgba(255,255,255,0.2) 1px 3px 3px;
    -webkit-background-clip : text;
  }
</style>
